#!/usr/bin/python env
#test the features of printers to see what commands they support, replace localhost with the ip needed to be tested
from pypjl import PJLDynamic

for function in [PJLDynamic().filesys, PJLDynamic().getModel, 
    PJLDynamic().getModel2, PJLDynamic().getSerial, 
    PJLDynamic().getModel3, PJLDynamic().getSerial2, 
    PJLDynamic().infofiles, PJLDynamic().reboot]:
    
    print function.__name__
    print function('127.0.0.1',9100)
